package com.wms.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Good {
    private Integer id;
    private String name;
    private Integer parentId;

    private List<Good> children;
}
